package com.youdoneed.community.forum.entity;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

public class Forumnotice implements Serializable {

    private static final long serialVersionUID = 3711211552204824979L;

    @ApiModelProperty("主键id")
    private String forumNoticeId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("评论的点赞：cmtLikePointNotice;" +
            "帖子的点赞：msgLikePointNotice；" +
            "帖子的评论：msgCommentNotice;" +
            "评论的评论：cmtCommentNotice;" +
            "加群邀请:gpInvitationNotice;" +
            "新闻的评论的评论通知：newsCmtLikePointNotice;" +
            "被他人同意加为好友：agreeToBeFriend;" +
            "别人添加我为好友：addMeToBeFriend;" +
            "我自动确认加好友：automaticToBeFriends" +
            "申请加入公开群通知：ApplyForPublic" +
            "申请加入非公开群通知 ：ApplyForPrivacy" +
            "同意申请加入非公开群通知用户加群的结果 ：AgreeApplyForPrivacyGroup" +
            "拒绝申请加入非公开群通知用户加群的结果 ：RefuseApplyForPrivacyGroup")
    private String noticeType;


    @ApiModelProperty("发起提醒的用户id")
    private String noticeUserId;

    @ApiModelProperty("发起提醒的用户昵称")
    private String noticeUserNickname;

    @ApiModelProperty("发起提醒的用户头像")
    private String noticeUserHeadUrl;

    @ApiModelProperty("提醒的来源id，如帖子id，评论id，群组id。")
    private String sourceId;

    @ApiModelProperty("消息的描述文字")
    private String sourceDesc;

    @ApiModelProperty("0:未读；1:已读")
    private Integer readStatus;

    public static final Integer READED = 1;

    public static final Integer UN_READ = 0;

    @ApiModelProperty("创建时间 2017-07-12 10:18:03")
    private Date createDate;

    @ApiModelProperty("帖子类型，如3D视频threeDimensionalVideo" +
            "和酷视频shareShortVideo类型，那么点击消息通知进入播放页面而不是帖子详情页面")
    private String sourceType;

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getForumNoticeId() {
        return forumNoticeId;
    }

    public void setForumNoticeId(String forumNoticeId) {
        this.forumNoticeId = forumNoticeId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(String noticeType) {
        this.noticeType = noticeType;
    }

    public String getNoticeUserId() {
        return noticeUserId;
    }

    public void setNoticeUserId(String noticeUserId) {
        this.noticeUserId = noticeUserId;
    }

    public String getNoticeUserNickname() {
        return noticeUserNickname;
    }

    public void setNoticeUserNickname(String noticeUserNickname) {
        this.noticeUserNickname = noticeUserNickname;
    }

    public String getNoticeUserHeadUrl() {
        return noticeUserHeadUrl;
    }

    public void setNoticeUserHeadUrl(String noticeUserHeadUrl) {
        this.noticeUserHeadUrl = noticeUserHeadUrl;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceDesc() {
        return sourceDesc;
    }

    public void setSourceDesc(String sourceDesc) {
        this.sourceDesc = sourceDesc;
    }

    public Integer getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}